<?php
$objConnect = mysql_connect("localhost","root","") or die("Error Connect to Localhost");
//ขั้นตอนที่ 2 เลือกฐานข้อมูล
$objDB = mysql_select_db("earthenware") or die("Error Connect to Database");
mysql_query("SET character_set_results=utf8");
mysql_query("SET collation_connection=utf8_unicode_ci");
mysql_query("SET NAMES 'utf8'");
?>

